@charset "utf-8";
@import 'prefixes';

$sbg:#f4f3ef;

.web{
    .nb-banner-contain{
        position: relative;
        height: 520px;
        overflow: hidden;
        width: 100%;
        .bx-wrapper{
            .bx-viewport{
                .bxslider{
                   li{
                       transition:all 3s;
                       opacity: 0;
                       &:first-child{
                           z-index: 10;
                           opacity: 1;
                       }
                       position: absolute;
                       width: 1349px;
                       left: -285.5px;
                       a{
                           display: block;
                           height: 520px;
                        }
                    }
                }
            }
            .bx-default-pager{
                position: absolute;
                left: 47%;
                bottom: 10px;
                z-index: 999;
                span{
                    display: inline-block;
                    height: 10px;
                    width: 10px;
                    transform: scale(0.6);
                    background: #999;
                    border: 2px solid #999;
                    margin: 0 5px;
                    border-radius: 50%;
                    cursor: pointer;
                }
                .active{
                    border: 2px solid #e8340e;
                    height: 8px;
                    width: 8px;
                    transform: scale(1);
                    background: transparent;
                }
            }
            .bx-controls-direction{
                .left-controls{
                    z-index: 100;
                    cursor: pointer;
                    position: absolute;
                    top: 35%;
                    left: 342px;
                    margin-top: -16px;
                    outline: 0;
                    width: 41px;
                    height: 69px;
                    border-radius: 18px;
                    background: url(../img/index/icon-slides.png)no-repeat -83px 0;
                    background-color: rgba(0,0,0,0.1);
                    @include transition(all 0.15s cubic-bezier(0.65, 0.045, 0.35, 1)); 
                    &:hover{
                        background-position: -1px 0;
                    } 
                }
                .right-controls{
                    z-index: 100;
                    cursor: pointer;
                    position: absolute;
                    top: 35%;
                    right: 85px;
                    margin-top: -16px;
                    outline: 0;
                    width: 41px;
                    height: 69px;
                    border-radius: 18px;
                    background:url(../img/index/icon-slides.png)no-repeat -125px 0 ;
                    background-color: rgba(0,0,0,0.1); 
                    @include transition(all 0.15s cubic-bezier(0.65, 0.045, 0.35, 1)); 
                    &:hover{
                        background-position: -41px 0;
                    }
                }
            }
        }
        .nb-menu{
            font-family: 'Gotham', Helvetica, Arial, sans-serif;
            position: absolute;
            z-index: 110;
            top: 0px;
            left: 50%;
            bottom: 0;
            margin-left: -600px;
            width: 240px;
            height: 520px;
            padding-top: 12px;
            padding-bottom: 12px;
            margin-bottom: 0;
            background: rgba(250,250, 250, 0.9);
            .nb-ml-side{
               ul{
                   position: relative;
                   li{
                       cursor: pointer;
                       height: 62px;
                       padding-left: 68px;
                       .nb-mlside-menu{
                            display: none;
                            background: #fff;
                            width: 240px;
                            min-height: 600px;
                            height: auto;
                            left: 240px;
                            top: -12px;
                            border: none;
                            position: absolute;
                            a{
                                display: block;
                                width: 240px;
                                height: 89px;
                                .figure{
                                    width:60px;
                                    height: 60px;
                                    display: inline-block;
                                    margin-left: 10px;
                                    img{
                                        vertical-align: middle;
                                        height: 100%;
                                    }
                                }
                                span{
                                    font-size: 12px;
                                    color: #666666;
                                    font-weight: 300;
                                }
                                &:hover span{
                                    color: #e8340e;
                                }
                            }
                       }
                       &:hover .nb-mlside-menu{
                           display: block;
                       }
                       a{
                            color: #333;
                            line-height: 62px;
                            font-weight: 300;
                            font-size: 15px;
                         
                       }
                        &:hover a{
                            color: #e95f46;
                        }
                       &:hover{
                            background: rgba(250,250, 250, 0.86);
                       }
                    }
                }
            }
        }
    }
    .nb-mall-wrap{
        margin-top: 10px;
        width: 100%;
        background: #fff;
        .nb-ml-newrelease{
            overflow: hidden;
            width: 1200px;
            min-width: 1200px;
            margin: auto auto;
            .nb-channel-item{
                width: 240px;
                ul{
                    width: 240px;
                    height: 180px;
                    overflow: hidden;
                    .bgc{
                        background:#f35c49;
                        a{
                            i,span{
                                color: #fff;
                            }
                        }
                    }
                    li{
                        width: 80px;
                        height: 90px;
                        text-align: center;
                        background: #f4f3ef;
                        float: left;
                        border-left: 1px solid #ebe5d7;
                        border-bottom: 1px solid #ebe5d7;
                        transition: all .5s;
                        a{
                            display: block;
                            padding: 20px 0;
                            i{
                                font-size: 32px;
                                color: #555;
                            }
                            span{
                                display: block;
                                font-size: 12px;
                                margin-top: 6px;
                                color: #888;
                            }
                        }
                    }
                }
            }
            .nb-ml-nr-item{
                width: 310px;
                height: 180px;
                margin-left: 10px;
                overflow: hidden;
                img{
                    width: 100%;
                    @include transition(transform 2s ease);
                }
                &:hover img{
                    @include transform(scale(1.1));
                }
            }
        }
    }
    .title{
            overflow: hidden;
            padding: 40px 0 8px;
            line-height: 24px;
        h2{
            color: #7e7e7e;
            font-size: 24px;
            line-height: 1em;
            font-weight: normal;
        }
        a{
            display: block;
            float: right;
            font-size: 12px;
            color: #e8340e;
            i{
                font-size: 16px;
                display: inline-block;
                vertical-align: middle;
                margin-top: -4px;
                margin-left: 2px;
            }
        }
    }
    .nbc-new1-box{
        padding-top: 10px;
        margin-left: -13px;
    }    
    .nb-mall-m-hot{
        min-width: 1200px;
        width: 1200px;
        margin: auto;
            ul{
                overflow: hidden;
                .col2{
                    width: 593px;
                    overflow: hidden;
                }
                li{
                    width: 290px;
                    height: 450px;
                    margin-left: 13px;
                    background: $sbg;
                    margin-bottom: 13px;
                    position: relative;
                    .figure{
                        .nb-img{
                            display: block;
                            width: 290px;
                            height: auto;
                            margin-top: 54px;
                        }
                        @include transition(transform 0.2s linear);
                        &:hover{
                        @include transform(translate3d(0, -6px, 0));
                        }
                    }    
                    .hot-mall{
                        position: absolute;
                        width: 48px;
                        height: 48px;
                        left: 10px;
                        top: 10px;
                        text-align: center;
                        line-height: 48px;
                        color: #fff;
                        z-index: 200;
                        display: table;
                        span{
                            line-height: 16px;
                            vertical-align: middle;
                            font-size: 14px;
                            font-weight: 300;
                            display: table-cell;
                        }
                        &:before,&:after{
                                width: 48px;
                                height: 48px;
                                position: absolute;
                                content: " ";
                                background: #f35c49;
                                border-radius: 100%;
                                z-index: -1;
                        }
                        &:after{
                            width: 12px;
                            height: 12px;
                            top: 42px;
                            left: 46px;
                        }
                    }
                    .figure-info{
                            margin-top: 10px;
                            line-height: 24px;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            text-align: center;
                        h2{
                            font-size: 16px;
                            color: #222;
                            font-weight: normal;
                        }
                        .gary{
                            color: #999;
                        }
                        span{
                            font-size: 13px;
                            color: #FF4D4D;
                        }
                    }
                    .price{
                        font-size: 14px;
                        line-height: 32px;
                        vertical-align: text-top;
                        text-align: center;
                        bottom: 42px;
                        position: absolute;
                        width: 100%;
                        span{
                            color: #f35c49;
                            font-family: 'Microsoft Yahei', 微软雅黑, Arial, Helvetica, sans-serif;
                            font-weight: 200;
                            label{
                                font-size: 16px;
                                font-weight: bold;
                            }
                        }
                        .price_old{
                            text-decoration: line-through;
                            color: #aaa;
                            padding-left: 5px;
                            border-left: 1px solid #aaa;
                        }
                    }
                    .nbc-pro-btn{
                        width: 100%;
                        position: absolute;
                        bottom: 32px;
                        text-align: center;
                        display: none;
                        a{
                            width: 116px;
                            height: 34px;
                            line-height: 34px;
                            text-align: center;
                            border: none;
                            display: inline-block;
                            border-radius: 16px;
                            &:first-child{
                                margin: 0 6px;
                                background: #fff;
                                color: #f35c49;
                            }
                            &:last-child{
                                background: #f35c49;
                                color: #fff ;
                                &:hover{
                                    background: #ec402a ;
                                }
                            }
                        }
                    }
                    &:hover .price{
                       display: none;
                    }
                    &:hover .nbc-pro-btn{
                       display: block;
                    }
                }
            }
        .ads-banner{
            margin-top: 10px;
            margin-bottom: 3px;
            min-width: 1200px;
        }
    }
    .nb-mobile-contain{
        margin-top: 20px;
        background: #f4f3ef;
        padding-bottom: 30px;
        width: 100%;
        .nb-mall-m-rel{
            width: 1200px;
            margin: auto;
            .phone-comment{
                &:hover{
                    @include transform(scale(1.05));
                }
            }
            .nbc-new1-box{
                ul{
                    li{
                        background: #fff;
                        height: 334px;
                        text-align: center;
                        position: relative;
                        overflow: hidden;
                        width: 290px;
                        margin-left: 13px;
                        @include transition(transform 2s ease);
                        a{
                            .play_btn{
                                position: absolute;
                                left: 145px;
                                top: 100px;
                                width: 52px;
                                height: 52px;
                                background: rgba(210,210,210,0.6);
                                border-radius: 50%;
                                @include transform(translate(-50%,-50%));
                                transition: background 0.3s linear;
                                &::after{
                                    margin-left: -4px;
                                    margin-top: -10px;
                                    border: 10px solid #fff;
                                    border-left-width: 15px;
                                    border-color: transparent transparent transparent #fff;
                                    content: " ";
                                    position: absolute;
                                    top: 50%;
                                }
                            }
                            &:hover .play_btn{
                                background: rgba(235,30,30, 0.6);
                            }
                            img{
                                width: 290px;
                            }
                        }
                       div{
                            margin-top: 40px;
                            p{
                                &:first-child{
                                    overflow: hidden;
                                    font-size: 16px;
                                    font-weight: normal;
                                    color: #222;
                                    font-family: 'Gotham', Helvetica, Arial, sans-serif;
                                }
                                &:last-child{
                                    overflow: hidden;
                                    margin-top: 12px;
                                    color: #999;
                                    word-break: break-all;
                                    font-weight: normal;
                                }
                            }
                        }
                    }
                    .phone-server{
                        height: 172px;
                        width: 593px;
                        background: #fff;
                        margin-bottom: 13px;
                        a{
                            display: inline-block;
                            height: 100%;
                            div{
                                i{
                                    font-size: 76px;
                                    padding-left: 60px;
                                    color: #666;
                                }
                                h2{
                                    text-align: left;
                                    width: 400px;
                                    text-overflow: ellipsis;
                                    overflow: hidden;
                                    font-size: 18px;
                                    font-weight: normal;
                                    color: #222222;
                                    padding-top:8px ;
                                    padding-left: 42px;
                                }
                                p{
                                    font-size: 15.4px;
                                    text-align: left;
                                    padding-left: 42px;
                                    margin-top: 5px !important;
                                    width: 360px;
                                }
                                
                            }
                        }    
                    }
                    .phone-server-list{
                        height: 117px;
                        width: 1200px;
                        background: #fff;
                        div{
                            float: left;
                            width: 299px;
                            &:not(:last-child){
                                border-right: 1px solid #d9d9d9;
                            }
                            i{
                                font-size: 48px;
                                vertical-align: middle;
                            }
                            span{
                                padding-left: 10px;
                                color: #666;
                                font-weight: 300;
                            }
                        }
                    }
                }
            }
        }
    }
}
